.class Lcom/nemustech/regina/ElementMaker$2;
.super Ljava/lang/Object;
.source "ElementMaker.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFModel$JitImageProvider;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementMaker;->createFolder()Lcom/nemustech/regina/Element;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementMaker;

.field final synthetic val$elementFolder:Lcom/nemustech/regina/ElementFolder;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementMaker;Lcom/nemustech/regina/ElementFolder;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 159
    iput-object p1, p0, Lcom/nemustech/regina/ElementMaker$2;->this$0:Lcom/nemustech/regina/ElementMaker;

    iput-object p2, p0, Lcom/nemustech/regina/ElementMaker$2;->val$elementFolder:Lcom/nemustech/regina/ElementFolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getImage(I)Landroid/graphics/Bitmap;
    .locals 3
    .parameter "faceIndex"

    .prologue
    .line 162
    iget-object v0, p0, Lcom/nemustech/regina/ElementMaker$2;->this$0:Lcom/nemustech/regina/ElementMaker;

    invoke-static {v0}, Lcom/nemustech/regina/ElementMaker;->access$100(Lcom/nemustech/regina/ElementMaker;)Lcom/nemustech/regina/ImagePlater;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/ElementMaker$2;->this$0:Lcom/nemustech/regina/ElementMaker;

    invoke-static {v1}, Lcom/nemustech/regina/ElementMaker;->access$200(Lcom/nemustech/regina/ElementMaker;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v1

    const v2, 0x7f02004d

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementMaker$2;->val$elementFolder:Lcom/nemustech/regina/ElementFolder;

    invoke-virtual {v2}, Lcom/nemustech/regina/ElementFolder;->getTitle()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ImagePlater;->createShortCutImage(Landroid/graphics/drawable/Drawable;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method
